home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-08-23 | 7.9 KB | [ TEXT/ttxt]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
You can browse this item here: MacBinary II Standard
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Wed May 2 19:26:38 2029, modified Wed May 2 19:26:38 2029, creator SimpleText, type ASCII, 7343 bytes "MacBinary II Standard" , at 0x1d2f 478 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ ttxt]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 15 4d 61 63 42 69 6e | 61 72 79 20 49 49 20 53 |..MacBin|ary II S| |00000010| 74 61 6e 64 61 72 64 00 | 00 00 00 00 00 00 00 00 |tandard.|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......| |00000050| 00 00 00 00 00 1c af 00 | 00 01 de eb c1 24 ae eb |........|.....$..| |00000060| c1 24 ae 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.$......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fa 10 00 00 |........|........| |00000080| 54 68 65 73 65 20 61 72 | 65 20 74 68 65 20 6e 65 |These ar|e the ne| |00000090| 77 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 65 |w change|s to the| |000000a0| 20 4d 61 63 42 69 6e 61 | 72 79 20 53 74 61 6e 64 | MacBina|ry Stand| |000000b0| 61 72 64 2c 20 61 73 20 | 67 65 6e 65 72 61 6c 6c |ard, as |generall| |000000c0| 79 20 61 67 72 65 65 64 | 0d 75 70 6f 6e 20 69 6e |y agreed|.upon in| |000000d0| 20 74 68 65 20 4d 61 63 | 42 69 6e 61 72 79 20 49 | the Mac|Binary I| |000000e0| 49 20 43 6f 6e 66 65 72 | 65 6e 63 65 20 36 2f 32 |I Confer|ence 6/2| |000000f0| 31 2f 38 37 2c 20 61 6e | 64 20 61 73 20 63 68 61 |1/87, an|d as cha| |00000100| 6e 67 65 64 20 69 6e 20 | 74 68 65 20 66 6f 6c 6c |nged in |the foll| |00000110| 6f 77 75 70 0d 63 6f 6e | 66 65 72 65 6e 63 65 20 |owup.con|ference | |00000120| 36 2f 32 38 2f 38 37 2e | 20 20 52 65 76 69 73 65 |6/28/87.| Revise| |00000130| 64 20 37 2f 32 34 2f 38 | 37 20 74 6f 20 72 65 66 |d 7/24/8|7 to ref| |00000140| 6c 65 63 74 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |lect sug|gestions| |00000150| 20 61 6e 64 20 63 6c 61 | 72 69 66 69 63 61 74 69 | and cla|rificati| |00000160| 6f 6e 73 0d 74 68 61 74 | 20 63 61 6d 65 20 6c 61 |ons.that| came la| |00000170| 74 65 72 2c 20 61 6e 64 | 20 74 6f 20 69 6e 63 6c |ter, and| to incl| |00000180| 75 64 65 20 61 6c 6c 20 | 6e 65 63 65 73 73 61 72 |ude all |necessar| |00000190| 79 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6e 65 |y inform|ation ne| |000001a0| 65 64 65 64 20 66 72 6f | 6d 20 74 68 65 0d 6f 72 |eded fro|m the.or| |000001b0| 69 67 69 6e 61 6c 20 4d | 61 63 42 69 6e 61 72 79 |iginal M|acBinary| |000001c0| 20 73 74 61 6e 64 61 72 | 64 20 64 6f 63 75 6d 65 | standar|d docume| |000001d0| 6e 74 20 74 6f 20 69 6d | 70 6c 65 6d 65 6e 74 20 |nt to im|plement | |000001e0| 4d 61 63 42 69 6e 61 72 | 79 20 49 49 2e 0d 0d 54 |MacBinar|y II...T| |000001f0| 68 65 20 6e 65 77 20 73 | 74 61 6e 64 61 72 64 20 |he new s|tandard | |00000200| 77 69 6c 6c 20 62 65 20 | 76 65 72 79 20 73 69 6d |will be |very sim| |00000210| 69 6c 61 72 20 74 6f 20 | 74 68 65 20 6f 72 69 67 |ilar to |the orig| |00000220| 69 6e 61 6c 20 4d 61 63 | 42 69 6e 61 72 79 20 73 |inal Mac|Binary s| |00000230| 74 61 6e 64 61 72 64 20 | 61 73 0d 64 65 73 63 72 |tandard |as.descr| |00000240| 69 62 65 64 20 69 6e 20 | 5b 4d 61 63 42 69 6e 61 |ibed in |[MacBina| |00000250| 72 79 20 53 74 61 6e 64 | 61 72 64 5d 2e 20 20 28 |ry Stand|ard]. (| |00000260| 52 65 61 64 69 6e 67 20 | 74 68 65 20 6f 72 69 67 |Reading |the orig| |00000270| 69 6e 61 6c 20 73 74 61 | 6e 64 61 72 64 20 69 73 |inal sta|ndard is| |00000280| 0d 72 65 63 6f 6d 6d 65 | 6e 64 65 64 20 66 6f 72 |.recomme|nded for| |00000290| 20 61 20 66 75 6c 6c 20 | 75 6e 64 65 72 73 74 61 | a full |understa| |000002a0| 6e 64 69 6e 67 20 6f 66 | 20 69 6d 70 6c 65 6d 65 |nding of| impleme| |000002b0| 6e 74 61 74 69 6f 6e 20 | 61 6e 64 20 70 68 69 6c |ntation |and phil| |000002c0| 6f 73 6f 70 68 79 0d 62 | 65 68 69 6e 64 20 74 68 |osophy.b|ehind th| |000002d0| 65 20 4d 61 63 42 69 6e | 61 72 79 20 49 20 61 6e |e MacBin|ary I an| |000002e0| 64 20 49 49 20 66 6f 72 | 6d 61 74 73 2e 29 20 20 |d II for|mats.) | |000002f0| 54 68 65 20 62 69 6e 61 | 72 79 20 66 6f 72 6d 61 |The bina|ry forma| |00000300| 74 20 63 6f 6e 73 69 73 | 74 73 20 6f 66 20 61 0d |t consis|ts of a.| |00000310| 31 32 38 2d 62 79 74 65 | 20 68 65 61 64 65 72 20 |128-byte| header | |00000320| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 61 6c 6c 20 74 |containi|ng all t| |00000330| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6e |he infor|mation n| |00000340| 65 63 65 73 73 61 72 79 | 20 74 6f 20 72 65 70 72 |ecessary| to repr| |00000350| 6f 64 75 63 65 20 74 68 | 65 0d 64 6f 63 75 6d 65 |oduce th|e.docume| |00000360| 6e 74 27 73 20 64 69 72 | 65 63 74 6f 72 79 20 65 |nt's dir|ectory e| |00000370| 6e 74 72 79 20 6f 6e 20 | 74 68 65 20 72 65 63 65 |ntry on |the rece| |00000380| 69 76 69 6e 67 20 4d 61 | 63 69 6e 74 6f 73 68 3b |iving Ma|cintosh;| |00000390| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 74 68 65 | followe|d by the| |000003a0| 0d 64 6f 63 75 6d 65 6e | 74 27 73 20 44 61 74 61 |.documen|t's Data| |000003b0| 20 46 6f 72 6b 20 28 69 | 66 20 69 74 20 68 61 73 | Fork (i|f it has| |000003c0| 20 6f 6e 65 29 2c 20 70 | 61 64 64 65 64 20 77 69 | one), p|added wi| |000003d0| 74 68 20 6e 75 6c 6c 73 | 20 74 6f 20 61 20 6d 75 |th nulls| to a mu| |000003e0| 6c 74 69 70 6c 65 20 6f | 66 0d 31 32 38 20 62 79 |ltiple o|f.128 by| |000003f0| 74 65 73 20 28 69 66 20 | 6e 65 63 65 73 73 61 72 |tes (if |necessar| |00000400| 79 29 3b 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |y); foll|owed by | |00000410| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 27 73 20 52 |the docu|ment's R| |00000420| 65 73 6f 75 72 63 65 20 | 46 6f 72 6b 20 28 61 67 |esource |Fork (ag| |00000430| 61 69 6e 2c 20 0d 70 61 | 64 64 65 64 20 69 66 20 |ain, .pa|dded if | |00000440| 6e 65 63 65 73 73 61 72 | 79 29 2e 20 54 68 65 20 |necessar|y). The | |00000450| 6c 65 6e 67 74 68 73 20 | 6f 66 20 74 68 65 73 65 |lengths |of these| |00000460| 20 66 6f 72 6b 73 20 28 | 65 69 74 68 65 72 20 6f | forks (|either o| |00000470| 72 20 62 6f 74 68 20 6f | 66 20 77 68 69 63 68 0d |r both o|f which.| |00000480| 6d 61 79 20 62 65 20 7a | 65 72 6f 29 20 61 72 65 |may be z|ero) are| |00000490| 20 63 6f 6e 74 61 69 6e | 65 64 20 69 6e 20 74 68 | contain|ed in th| |000004a0| 65 20 68 65 61 64 65 72 | 2e 0d 0d 54 68 65 20 66 |e header|...The f| |000004b0| 6f 72 6d 61 74 20 6f 66 | 20 74 68 65 20 68 65 61 |ormat of| the hea| |000004c0| 64 65 72 20 66 6f 72 20 | 4d 61 63 42 69 6e 61 72 |der for |MacBinar| |000004d0| 79 20 49 49 20 69 73 20 | 61 73 20 66 6f 6c 6c 6f |y II is |as follo| |000004e0| 77 73 3a 0d 0d 20 20 4f | 66 66 73 65 74 20 30 30 |ws:.. O|ffset 00| |000004f0| 30 2d 42 79 74 65 2c 20 | 6f 6c 64 20 76 65 72 73 |0-Byte, |old vers| |00000500| 69 6f 6e 20 6e 75 6d 62 | 65 72 2c 20 6d 75 73 74 |ion numb|er, must| |00000510| 20 62 65 20 6b 65 70 74 | 20 61 74 20 7a 65 72 6f | be kept| at zero| |00000520| 20 66 6f 72 20 63 6f 6d | 70 61 74 69 62 69 6c 69 | for com|patibili| |00000530| 74 79 0d 20 20 4f 66 66 | 73 65 74 20 30 30 31 2d |ty. Off|set 001-| |00000540| 42 79 74 65 2c 20 4c 65 | 6e 67 74 68 20 6f 66 20 |Byte, Le|ngth of | |00000550| 66 69 6c 65 6e 61 6d 65 | 20 28 6d 75 73 74 20 62 |filename| (must b| |00000560| 65 20 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 31 |e in the| range 1| |00000570| 2d 36 33 29 0d 20 20 4f | 66 66 73 65 74 20 30 30 |-63). O|ffset 00| |00000580| 32 2d 31 20 74 6f 20 36 | 33 20 63 68 61 72 73 2c |2-1 to 6|3 chars,| |00000590| 20 66 69 6c 65 6e 61 6d | 65 20 28 6f 6e 6c 79 20 | filenam|e (only | |000005a0| 22 6c 65 6e 67 74 68 22 | 20 62 79 74 65 73 20 61 |"length"| bytes a| |000005b0| 72 65 20 73 69 67 6e 69 | 66 69 63 61 6e 74 29 2e |re signi|ficant).| |000005c0| 0d 20 20 4f 66 66 73 65 | 74 20 30 36 35 2d 4c 6f |. Offse|t 065-Lo| |000005d0| 6e 67 20 57 6f 72 64 2c | 20 66 69 6c 65 20 74 79 |ng Word,| file ty| |000005e0| 70 65 20 28 6e 6f 72 6d | 61 6c 6c 79 20 65 78 70 |pe (norm|ally exp| |000005f0| 72 65 73 73 65 64 20 61 | 73 20 66 6f 75 72 20 63 |ressed a|s four c| |00000600| 68 61 72 61 63 74 65 72 | 73 29 0d 20 20 4f 66 66 |haracter|s). Off| |00000610| 73 65 74 20 30 36 39 2d | 4c 6f 6e 67 20 57 6f 72 |set 069-|Long Wor| |00000620| 64 2c 20 66 69 6c 65 20 | 63 72 65 61 74 6f 72 20 |d, file |creator | |00000630| 28 6e 6f 72 6d 61 6c 6c | 79 20 65 78 70 72 65 73 |(normall|y expres| |00000640| 73 65 64 20 61 73 20 66 | 6f 75 72 20 63 68 61 72 |sed as f|our char| |00000650| 61 63 74 65 72 73 29 0d | 20 20 4f 66 66 73 65 74 |acters).| Offset| |00000660| 20 30 37 33 2d 42 79 74 | 65 2c 20 6f 72 69 67 69 | 073-Byt|e, origi| |00000670| 6e 61 6c 20 46 69 6e 64 | 65 72 20 66 6c 61 67 73 |nal Find|er flags| |00000680| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00000690| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000006a0| 20 20 42 69 74 20 37 20 | 2d 20 4c 6f 63 6b 65 64 | Bit 7 |- Locked| |000006b0| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | | |000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000006d0| 20 20 20 42 69 74 20 36 | 20 2d 20 49 6e 76 69 73 | Bit 6| - Invis| |000006e0| 69 62 6c 65 2e 0d 20 20 | 20 20 20 20 20 20 20 20 |ible.. | | |000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000700| 20 20 20 20 20 20 20 42 | 69 74 20 35 20 2d 20 42 | B|it 5 - B| |00000710| 75 6e 64 6c 65 2e 0d 20 | 20 20 20 20 20 20 20 20 |undle.. | | |00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000730| 20 20 20 20 20 20 20 20 | 42 69 74 20 34 20 2d 20 | |Bit 4 - | |00000740| 53 79 73 74 65 6d 2e 0d | 20 20 20 20 20 20 20 20 |System..| | |00000750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000760| 20 20 20 20 20 20 20 20 | 20 42 69 74 20 33 20 2d | | Bit 3 -| |00000770| 20 42 6f 7a 6f 2e 0d 20 | 20 20 20 20 20 20 20 20 | Bozo.. | | |00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000790| 20 20 20 20 20 20 20 20 | 42 69 74 20 32 20 2d 20 | |Bit 2 - | |000007a0| 42 75 73 79 2e 0d 20 20 | 20 20 20 20 20 20 20 20 |Busy.. | | |000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000007c0| 20 20 20 20 20 20 20 42 | 69 74 20 31 20 2d 20 43 | B|it 1 - C| |000007d0| 68 61 6e 67 65 64 2e 0d | 20 20 20 20 20 20 20 20 |hanged..| | |000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000007f0| 20 20 20 20 20 20 20 20 | 20 42 69 74 20 30 20 2d | | Bit 0 -| |00000800| 20 49 6e 69 74 65 64 2e | 0d 20 20 4f 66 66 73 65 | Inited.|. Offse| |00000810| 74 20 30 37 34 2d 42 79 | 74 65 2c 20 7a 65 72 6f |t 074-By|te, zero| |00000820| 20 66 69 6c 6c 2c 20 6d | 75 73 74 20 62 65 20 7a | fill, m|ust be z| |00000830| 65 72 6f 20 66 6f 72 20 | 63 6f 6d 70 61 74 69 62 |ero for |compatib| |00000840| 69 6c 69 74 79 0d 20 20 | 4f 66 66 73 65 74 20 30 |ility. |Offset 0| |00000850| 37 35 2d 57 6f 72 64 2c | 20 66 69 6c 65 27 73 20 |75-Word,| file's | |00000860| 76 65 72 74 69 63 61 6c | 20 70 6f 73 69 74 69 6f |vertical| positio| |00000870| 6e 20 77 69 74 68 69 6e | 20 69 74 73 20 77 69 6e |n within| its win| |00000880| 64 6f 77 2e 0d 20 20 4f | 66 66 73 65 74 20 30 37 |dow.. O|ffset 07| |00000890| 37 2d 57 6f 72 64 2c 20 | 66 69 6c 65 27 73 20 68 |7-Word, |file's h| |000008a0| 6f 72 69 7a 6f 6e 74 61 | 6c 20 70 6f 73 69 74 69 |orizonta|l positi| |000008b0| 6f 6e 20 77 69 74 68 69 | 6e 20 69 74 73 20 77 69 |on withi|n its wi| |000008c0| 6e 64 6f 77 2e 0d 20 20 | 4f 66 66 73 65 74 20 30 |ndow.. |Offset 0| |000008d0| 37 39 2d 57 6f 72 64 2c | 20 66 69 6c 65 27 73 20 |79-Word,| file's | |000008e0| 77 69 6e 64 6f 77 20 6f | 72 20 66 6f 6c 64 65 72 |window o|r folder| |000008f0| 20 49 44 2e 0d 20 20 4f | 66 66 73 65 74 20 30 38 | ID.. O|ffset 08| |00000900| 31 2d 42 79 74 65 2c 20 | 22 50 72 6f 74 65 63 74 |1-Byte, |"Protect| |00000910| 65 64 22 20 66 6c 61 67 | 20 28 69 6e 20 6c 6f 77 |ed" flag| (in low| |00000920| 20 6f 72 64 65 72 20 62 | 69 74 29 2e 0d 20 20 4f | order b|it).. O| |00000930| 66 66 73 65 74 20 30 38 | 32 2d 42 79 74 65 2c 20 |ffset 08|2-Byte, | |00000940| 7a 65 72 6f 20 66 69 6c | 6c 2c 20 6d 75 73 74 20 |zero fil|l, must | |00000950| 62 65 20 7a 65 72 6f 20 | 66 6f 72 20 63 6f 6d 70 |be zero |for comp| |00000960| 61 74 69 62 69 6c 69 74 | 79 0d 20 20 4f 66 66 73 |atibilit|y. Offs| |00000970| 65 74 20 30 38 33 2d 4c | 6f 6e 67 20 57 6f 72 64 |et 083-L|ong Word| |00000980| 2c 20 44 61 74 61 20 46 | 6f 72 6b 20 6c 65 6e 67 |, Data F|ork leng| |00000990| 74 68 20 28 62 79 74 65 | 73 2c 20 7a 65 72 6f 20 |th (byte|s, zero | |000009a0| 69 66 20 6e 6f 20 44 61 | 74 61 20 46 6f 72 6b 29 |if no Da|ta Fork)| |000009b0| 2e 0d 20 20 4f 66 66 73 | 65 74 20 30 38 37 2d 4c |.. Offs|et 087-L| |000009c0| 6f 6e 67 20 57 6f 72 64 | 2c 20 52 65 73 6f 75 72 |ong Word|, Resour| |000009d0| 63 65 20 46 6f 72 6b 20 | 6c 65 6e 67 74 68 20 28 |ce Fork |length (| |000009e0| 62 79 74 65 73 2c 20 7a | 65 72 6f 20 69 66 20 6e |bytes, z|ero if n| |000009f0| 6f 20 52 2e 46 2e 29 2e | 0d 20 20 4f 66 66 73 65 |o R.F.).|. Offse| |00000a00| 74 20 30 39 31 2d 4c 6f | 6e 67 20 57 6f 72 64 2c |t 091-Lo|ng Word,| |00000a10| 20 46 69 6c 65 27 73 20 | 63 72 65 61 74 69 6f 6e | File's |creation| |00000a20| 20 64 61 74 65 0d 20 20 | 4f 66 66 73 65 74 20 30 | date. |Offset 0| |00000a30| 39 35 2d 4c 6f 6e 67 20 | 57 6f 72 64 2c 20 46 69 |95-Long |Word, Fi| |00000a40| 6c 65 27 73 20 22 6c 61 | 73 74 20 6d 6f 64 69 66 |le's "la|st modif| |00000a50| 69 65 64 22 20 64 61 74 | 65 2e 0d 20 20 4f 66 66 |ied" dat|e.. Off| |00000a60| 73 65 74 20 30 39 39 2d | 57 6f 72 64 2c 20 6c 65 |set 099-|Word, le| |00000a70| 6e 67 74 68 20 6f 66 20 | 47 65 74 20 49 6e 66 6f |ngth of |Get Info| |00000a80| 20 63 6f 6d 6d 65 6e 74 | 20 74 6f 20 62 65 20 73 | comment| to be s| |00000a90| 65 6e 74 20 61 66 74 65 | 72 20 74 68 65 20 72 65 |ent afte|r the re| |00000aa0| 73 6f 75 72 63 65 0d 20 | 20 20 20 20 20 20 20 20 |source. | | |00000ab0| 20 20 20 20 66 6f 72 6b | 20 28 69 66 20 69 6d 70 | fork| (if imp| |00000ac0| 6c 65 6d 65 6e 74 65 64 | 2c 20 73 65 65 20 62 65 |lemented|, see be| |00000ad0| 6c 6f 77 29 2e 0d 20 2a | 4f 66 66 73 65 74 20 31 |low).. *|Offset 1| |00000ae0| 30 31 2d 42 79 74 65 2c | 20 46 69 6e 64 65 72 20 |01-Byte,| Finder | |00000af0| 46 6c 61 67 73 2c 20 62 | 69 74 73 20 30 2d 37 2e |Flags, b|its 0-7.| |00000b00| 20 28 42 69 74 73 20 38 | 2d 31 35 20 61 72 65 20 | (Bits 8|-15 are | |00000b10| 61 6c 72 65 61 64 79 20 | 69 6e 20 62 79 74 65 20 |already |in byte | |00000b20| 37 33 29 0d 20 2a 4f 66 | 66 73 65 74 20 31 31 36 |73). *Of|fset 116| |00000b30| 2d 4c 6f 6e 67 20 57 6f | 72 64 2c 20 4c 65 6e 67 |-Long Wo|rd, Leng| |00000b40| 74 68 20 6f 66 20 74 6f | 74 61 6c 20 66 69 6c 65 |th of to|tal file| |00000b50| 73 20 77 68 65 6e 20 70 | 61 63 6b 65 64 20 66 69 |s when p|acked fi| |00000b60| 6c 65 73 20 61 72 65 20 | 75 6e 70 61 63 6b 65 64 |les are |unpacked| |00000b70| 2e 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 |.. | T| |00000b80| 68 69 73 20 69 73 20 6f | 6e 6c 79 20 75 73 65 64 |his is o|nly used| |00000b90| 20 62 79 20 70 72 6f 67 | 72 61 6d 73 20 74 68 61 | by prog|rams tha| |00000ba0| 74 20 70 61 63 6b 20 61 | 6e 64 20 75 6e 70 61 63 |t pack a|nd unpac| |00000bb0| 6b 20 6f 6e 20 74 68 65 | 20 66 6c 79 2c 0d 20 20 |k on the| fly,. | |00000bc0| 20 20 20 20 20 20 20 20 | 20 20 20 6d 69 6d 69 63 | | mimic| |00000bd0| 69 6e 67 20 61 20 73 74 | 61 6e 64 61 6c 6f 6e 65 |ing a st|andalone| |00000be0| 20 75 74 69 6c 69 74 79 | 20 73 75 63 68 20 61 73 | utility| such as| |00000bf0| 20 50 61 63 6b 49 74 2e | 20 20 41 20 70 72 6f 67 | PackIt.| A prog| |00000c00| 72 61 6d 20 74 68 61 74 | 20 69 73 0d 20 20 20 20 |ram that| is. | |00000c10| 20 20 20 20 20 20 20 20 | 20 75 70 6c 6f 61 64 69 | | uploadi| |00000c20| 6e 67 20 61 20 73 69 6e | 67 6c 65 20 66 69 6c 65 |ng a sin|gle file| |00000c30| 20 6d 75 73 74 20 7a 65 | 72 6f 20 74 68 69 73 20 | must ze|ro this | |00000c40| 6c 6f 63 61 74 69 6f 6e | 20 77 68 65 6e 20 73 65 |location| when se| |00000c50| 6e 64 69 6e 67 20 61 0d | 20 20 20 20 20 20 20 20 |nding a.| | |00000c60| 20 20 20 20 20 66 69 6c | 65 2e 20 20 50 72 6f 67 | fil|e. Prog| |00000c70| 72 61 6d 73 20 74 68 61 | 74 20 64 6f 20 6e 6f 74 |rams tha|t do not| |00000c80| 20 75 6e 70 61 63 6b 2f | 75 6e 63 6f 6d 70 72 65 | unpack/|uncompre| |00000c90| 73 73 20 66 69 6c 65 73 | 20 77 68 65 6e 0d 20 20 |ss files| when. | |00000ca0| 20 20 20 20 20 20 20 20 | 20 20 20 64 6f 77 6e 6c | | downl| |00000cb0| 6f 61 64 69 6e 67 20 6d | 61 79 20 69 67 6e 6f 72 |oading m|ay ignor| |00000cc0| 65 20 74 68 69 73 20 76 | 61 6c 75 65 2e 0d 20 2a |e this v|alue.. *| |00000cd0| 4f 66 66 73 65 74 20 31 | 32 30 2d 57 6f 72 64 2c |Offset 1|20-Word,| |00000ce0| 20 4c 65 6e 67 74 68 20 | 6f 66 20 61 20 73 65 63 | Length |of a sec| |00000cf0| 6f 6e 64 61 72 79 20 68 | 65 61 64 65 72 2e 20 20 |ondary h|eader. | |00000d00| 49 66 20 74 68 69 73 20 | 69 73 20 6e 6f 6e 2d 7a |If this |is non-z| |00000d10| 65 72 6f 2c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ero,. | | |00000d20| 20 20 53 6b 69 70 20 74 | 68 69 73 20 6d 61 6e 79 | Skip t|his many| |00000d30| 20 62 79 74 65 73 20 28 | 72 6f 75 6e 64 65 64 20 | bytes (|rounded | |00000d40| 75 70 20 74 6f 20 74 68 | 65 20 6e 65 78 74 20 6d |up to th|e next m| |00000d50| 75 6c 74 69 70 6c 65 20 | 6f 66 20 31 32 38 29 0d |ultiple |of 128).| |00000d60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 54 68 69 | | Thi| |00000d70| 73 20 69 73 20 66 6f 72 | 20 66 75 74 75 72 65 20 |s is for| future | |00000d80| 65 78 70 61 6e 73 69 6f | 6e 20 6f 6e 6c 79 2c 20 |expansio|n only, | |00000d90| 77 68 65 6e 20 73 65 6e | 64 69 6e 67 20 66 69 6c |when sen|ding fil| |00000da0| 65 73 20 77 69 74 68 0d | 20 20 20 20 20 20 20 20 |es with.| | |00000db0| 20 20 20 20 20 4d 61 63 | 42 69 6e 61 72 79 2c 20 | Mac|Binary, | |00000dc0| 74 68 69 73 20 77 6f 72 | 64 20 73 68 6f 75 6c 64 |this wor|d should| |00000dd0| 20 62 65 20 7a 65 72 6f | 2e 0d 20 2a 4f 66 66 73 | be zero|.. *Offs| |00000de0| 65 74 20 31 32 32 2d 42 | 79 74 65 2c 20 56 65 72 |et 122-B|yte, Ver| |00000df0| 73 69 6f 6e 20 6e 75 6d | 62 65 72 20 6f 66 20 4d |sion num|ber of M| |00000e00| 61 63 62 69 6e 61 72 79 | 20 49 49 20 74 68 61 74 |acbinary| II that| |00000e10| 20 74 68 65 20 75 70 6c | 6f 61 64 69 6e 67 20 70 | the upl|oading p| |00000e20| 72 6f 67 72 61 6d 0d 20 | 20 20 20 20 20 20 20 20 |rogram. | | |00000e30| 20 20 20 20 69 73 20 77 | 72 69 74 74 65 6e 20 66 | is w|ritten f| |00000e40| 6f 72 20 28 74 68 65 20 | 76 65 72 73 69 6f 6e 20 |or (the |version | |00000e50| 62 65 67 69 6e 73 20 61 | 74 20 31 32 39 29 0d 20 |begins a|t 129). | |00000e60| 2a 4f 66 66 73 65 74 20 | 31 32 33 2d 42 79 74 65 |*Offset |123-Byte| |00000e70| 2c 20 4d 69 6e 69 6d 75 | 6d 20 4d 61 63 42 69 6e |, Minimu|m MacBin| |00000e80| 61 72 79 20 49 49 20 76 | 65 72 73 69 6f 6e 20 6e |ary II v|ersion n| |00000e90| 65 65 64 65 64 20 74 6f | 20 72 65 61 64 20 74 68 |eeded to| read th| |00000ea0| 69 73 20 66 69 6c 65 0d | 20 20 20 20 20 20 20 20 |is file.| | |00000eb0| 20 20 20 20 20 28 73 74 | 61 72 74 20 74 68 69 73 | (st|art this| |00000ec0| 20 76 61 6c 75 65 20 61 | 74 20 31 32 39 20 31 32 | value a|t 129 12| |00000ed0| 39 29 0d 20 2a 4f 66 66 | 73 65 74 20 31 32 34 2d |9). *Off|set 124-| |00000ee0| 57 6f 72 64 2c 20 43 52 | 43 20 6f 66 20 70 72 65 |Word, CR|C of pre| |00000ef0| 76 69 6f 75 73 20 31 32 | 34 20 62 79 74 65 73 0d |vious 12|4 bytes.| |00000f00| 0d 20 2a 54 68 69 73 20 | 69 73 20 6e 65 77 6c 79 |. *This |is newly| |00000f10| 20 64 65 66 69 6e 65 64 | 20 66 6f 72 20 4d 61 63 | defined| for Mac| |00000f20| 42 69 6e 61 72 79 20 49 | 49 2e 0d 0d 41 6c 6c 20 |Binary I|I...All | |00000f30| 76 61 6c 75 65 73 20 61 | 72 65 20 73 74 6f 72 65 |values a|re store| |00000f40| 64 20 69 6e 20 6e 6f 72 | 6d 61 6c 20 36 38 30 30 |d in nor|mal 6800| |00000f50| 30 20 6f 72 64 65 72 2c | 20 77 69 74 68 20 4d 6f |0 order,| with Mo| |00000f60| 73 74 20 53 69 67 6e 69 | 66 69 63 61 6e 74 20 42 |st Signi|ficant B| |00000f70| 79 74 65 0d 61 70 70 65 | 61 72 69 6e 67 20 66 69 |yte.appe|aring fi| |00000f80| 72 73 74 20 74 68 65 6e | 20 74 68 65 20 66 69 6c |rst then| the fil| |00000f90| 65 2e 20 20 41 6e 79 20 | 62 79 74 65 73 20 69 6e |e. Any |bytes in| |00000fa0| 20 74 68 65 20 68 65 61 | 64 65 72 20 6e 6f 74 20 | the hea|der not | |00000fb0| 64 65 66 69 6e 65 64 20 | 61 62 6f 76 65 0d 73 68 |defined |above.sh| |00000fc0| 6f 75 6c 64 20 62 65 20 | 73 65 74 20 74 6f 20 7a |ould be |set to z| |00000fd0| 65 72 6f 2e 0d 0d 54 68 | 65 20 6f 72 69 67 69 6e |ero...Th|e origin| |00000fe0| 61 6c 20 4d 61 63 42 69 | 6e 61 72 79 20 66 6f 72 |al MacBi|nary for| |00000ff0| 6d 61 74 20 77 61 73 20 | 61 6d 6d 65 6e 64 65 64 |mat was |ammended| |00001000| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 | to incl|ude the | |00001010| 73 65 6e 64 69 6e 67 20 | 6f 66 20 74 68 65 20 46 |sending |of the F| |00001020| 43 4d 54 0d 28 47 65 74 | 20 49 6e 66 6f 20 63 6f |CMT.(Get| Info co| |00001030| 6d 6d 65 6e 74 29 20 61 | 66 74 65 72 20 74 68 65 |mment) a|fter the| |00001040| 20 72 65 73 6f 75 72 63 | 65 20 66 6f 72 6b 20 77 | resourc|e fork w| |00001050| 61 73 20 73 65 6e 74 2c | 20 69 66 20 74 68 65 20 |as sent,| if the | |00001060| 6c 65 6e 67 74 68 20 66 | 6f 72 20 73 75 63 68 0d |length f|or such.| |00001070| 63 6f 6d 6d 65 6e 74 2c | 20 67 69 76 65 6e 20 69 |comment,| given i| |00001080| 6e 20 6f 66 66 73 65 74 | 20 39 39 2c 20 69 73 20 |n offset| 99, is | |00001090| 6e 6f 74 20 7a 65 72 6f | 2e 20 20 54 6f 20 74 68 |not zero|. To th| |000010a0| 65 20 62 65 73 74 20 6f | 66 20 6f 75 72 20 6b 6e |e best o|f our kn| |000010b0| 6f 77 6c 65 64 67 65 2c | 20 6e 6f 0d 70 72 6f 67 |owledge,| no.prog| |000010c0| 72 61 6d 20 68 61 73 20 | 69 6d 70 6c 65 6d 65 6e |ram has |implemen| |000010d0| 74 65 64 20 74 68 69 73 | 20 66 65 61 74 75 72 65 |ted this| feature| |000010e0| 2c 20 64 75 65 20 74 6f | 20 41 70 70 6c 65 27 73 |, due to| Apple's| |000010f0| 20 73 74 61 74 65 64 20 | 70 6f 73 69 74 69 6f 6e | stated |position| |00001100| 20 74 68 61 74 20 6e 6f | 0d 70 72 6f 67 72 61 6d | that no|.program| |00001110| 20 73 68 6f 75 6c 64 20 | 72 65 61 64 20 6f 72 20 | should |read or | |00001120| 77 72 69 74 65 20 74 68 | 65 73 65 20 63 6f 6d 6d |write th|ese comm| |00001130| 65 6e 74 73 2e 20 20 54 | 68 65 20 64 65 66 69 6e |ents. T|he defin| |00001140| 69 74 69 6f 6e 20 72 65 | 6d 61 69 6e 73 20 69 6e |ition re|mains in| |00001150| 0d 4d 61 63 42 69 6e 61 | 72 79 20 49 49 2c 20 73 |.MacBina|ry II, s| |00001160| 6f 20 74 68 61 74 20 73 | 68 6f 75 6c 64 20 41 70 |o that s|hould Ap| |00001170| 70 6c 65 20 65 76 65 72 | 20 70 72 6f 76 69 64 65 |ple ever| provide| |00001180| 20 61 20 64 6f 63 75 6d | 65 6e 74 65 64 20 77 61 | a docum|ented wa| |00001190| 79 20 6f 66 20 72 65 61 | 64 69 6e 67 20 61 6e 64 |y of rea|ding and| |000011a0| 0d 77 72 69 74 69 6e 67 | 20 74 68 65 73 65 20 63 |.writing| these c| |000011b0| 6f 6d 6d 65 6e 74 73 2c | 20 74 65 72 6d 69 6e 61 |omments,| termina| |000011c0| 6c 20 70 72 6f 67 72 61 | 6d 73 20 77 69 6c 6c 20 |l progra|ms will | |000011d0| 62 65 20 61 62 6c 65 20 | 74 6f 20 74 61 6b 65 20 |be able |to take | |000011e0| 61 64 76 61 6e 74 61 67 | 65 20 6f 66 0d 74 68 69 |advantag|e of.thi| |000011f0| 73 20 66 65 61 74 75 72 | 65 2e 20 0d 0d 41 6c 6c |s featur|e. ..All| |00001200| 20 46 69 6e 64 65 72 20 | 66 6c 61 67 73 20 61 6e | Finder |flags an| |00001210| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 77 6f |d inform|ation wo| |00001220| 75 6c 64 20 62 65 20 75 | 70 6c 6f 61 64 65 64 2c |uld be u|ploaded,| |00001230| 20 68 6f 77 65 76 65 72 | 2c 20 61 20 64 6f 77 6e | however|, a down| |00001240| 6c 6f 61 64 69 6e 67 0d | 70 72 6f 67 72 61 6d 20 |loading.|program | |00001250| 73 68 6f 75 6c 64 20 63 | 6c 65 61 72 20 74 68 65 |should c|lear the| |00001260| 20 46 69 6e 64 65 72 20 | 66 6c 61 67 20 62 69 74 | Finder |flag bit| |00001270| 73 20 6f 66 0d 20 20 30 | 20 2d 20 53 65 74 20 69 |s of. 0| - Set i| |00001280| 66 20 66 69 6c 65 2f 66 | 6f 6c 64 65 72 20 69 73 |f file/f|older is| |00001290| 20 6f 6e 20 74 68 65 20 | 64 65 73 6b 74 6f 70 20 | on the |desktop | |000012a0| 28 46 69 6e 64 65 72 20 | 35 2e 30 20 61 6e 64 20 |(Finder |5.0 and | |000012b0| 6c 61 74 65 72 29 0d 20 | 20 31 20 2d 20 62 46 4f |later). | 1 - bFO| |000012c0| 77 6e 41 70 70 6c 20 28 | 75 73 65 64 20 69 6e 74 |wnAppl (|used int| |000012d0| 65 72 6e 61 6c 6c 79 29 | 0d 20 20 38 20 2d 20 49 |ernally)|. 8 - I| |000012e0| 6e 69 74 65 64 20 28 73 | 65 65 6e 20 62 79 20 46 |nited (s|een by F| |000012f0| 69 6e 64 65 72 29 0d 20 | 20 39 20 2d 20 43 68 61 |inder). | 9 - Cha| |00001300| 6e 67 65 64 20 28 75 73 | 65 64 20 69 6e 74 65 72 |nged (us|ed inter| |00001310| 6e 61 6c 6c 79 20 62 79 | 20 46 69 6e 64 65 72 29 |nally by| Finder)| |00001320| 0d 20 31 30 20 2d 20 42 | 75 73 79 20 28 63 6f 70 |. 10 - B|usy (cop| |00001330| 69 65 64 20 66 72 6f 6d | 20 46 69 6c 65 20 53 79 |ied from| File Sy| |00001340| 73 74 65 6d 20 62 75 73 | 79 20 62 69 74 29 0d 0d |stem bus|y bit)..| |00001350| 41 6c 73 6f 2c 20 66 64 | 4c 6f 63 61 74 69 6f 6e |Also, fd|Location| |00001360| 20 61 6e 64 20 66 64 46 | 6c 64 72 20 73 68 6f 75 | and fdF|ldr shou| |00001370| 6c 64 20 62 65 20 7a 65 | 72 6f 65 64 0d 0d 54 6f |ld be ze|roed..To| |00001380| 20 64 65 74 65 72 6d 69 | 6e 65 20 69 66 20 61 20 | determi|ne if a | |00001390| 68 65 61 64 65 72 20 69 | 73 20 61 20 76 61 6c 69 |header i|s a vali| |000013a0| 64 20 20 4d 61 63 42 69 | 6e 61 72 79 20 68 65 61 |d MacBi|nary hea| |000013b0| 64 65 72 2c 20 63 68 65 | 63 6b 20 62 79 74 65 73 |der, che|ck bytes| |000013c0| 20 30 20 61 6e 64 20 37 | 34 20 74 6f 0d 62 65 20 | 0 and 7|4 to.be | |000013d0| 62 6f 74 68 20 7a 65 72 | 6f 2e 20 20 49 66 20 74 |both zer|o. If t| |000013e0| 68 65 79 20 61 72 65 20 | 62 6f 74 68 20 7a 65 72 |hey are |both zer| |000013f0| 6f 2c 20 65 69 74 68 65 | 72 20 28 61 29 20 74 68 |o, eithe|r (a) th| |00001400| 65 20 43 52 43 20 73 68 | 6f 75 6c 64 20 6d 61 74 |e CRC sh|ould mat| |00001410| 63 68 2c 20 77 68 69 63 | 68 0d 6d 65 61 6e 73 20 |ch, whic|h.means | |00001420| 69 74 20 69 73 20 61 20 | 4d 42 20 49 49 20 66 69 |it is a |MB II fi| |00001430| 6c 65 2c 20 6f 72 20 28 | 62 29 20 62 79 74 65 20 |le, or (|b) byte | |00001440| 38 32 20 69 73 20 7a 65 | 72 6f 2c 20 77 68 69 63 |82 is ze|ro, whic| |00001450| 68 20 6d 65 61 6e 73 20 | 69 74 20 6d 61 79 20 62 |h means |it may b| |00001460| 65 20 61 20 4d 42 20 49 | 0d 66 69 6c 65 2e 20 20 |e a MB I|.file. | |00001470| 28 4e 6f 74 65 20 74 68 | 61 74 2c 20 61 74 20 74 |(Note th|at, at t| |00001480| 68 65 20 63 75 72 72 65 | 6e 74 20 76 65 72 73 69 |he curre|nt versi| |00001490| 6f 6e 20 6c 65 76 65 6c | 2c 20 62 79 74 65 20 38 |on level|, byte 8| |000014a0| 32 20 69 73 20 6b 65 70 | 74 20 7a 65 72 6f 20 74 |2 is kep|t zero t| |000014b0| 6f 0d 6d 61 69 6e 74 61 | 69 6e 20 63 6f 6d 70 61 |o.mainta|in compa| |000014c0| 74 69 62 69 6c 69 74 79 | 20 77 69 74 68 20 4d 61 |tibility| with Ma| |000014d0| 63 42 69 6e 61 72 79 20 | 49 2e 20 49 66 20 61 74 |cBinary |I. If at| |000014e0| 20 73 6f 6d 65 20 70 6f | 69 6e 74 20 74 68 65 20 | some po|int the | |000014f0| 4d 61 63 42 69 6e 61 72 | 79 0d 76 65 72 73 69 6f |MacBinar|y.versio| |00001500| 6e 73 20 63 68 61 6e 67 | 65 20 73 75 66 66 69 63 |ns chang|e suffic| |00001510| 69 65 6e 74 6c 79 20 74 | 68 61 74 20 69 74 20 69 |iently t|hat it i| |00001520| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 6b |s necess|ary to k| |00001530| 65 65 70 20 4d 61 63 42 | 69 6e 61 72 79 20 49 20 |eep MacB|inary I | |00001540| 70 72 6f 67 72 61 6d 73 | 0d 66 72 6f 6d 20 64 6f |programs|.from do| |00001550| 77 6e 6c 6f 61 64 69 6e | 67 20 74 68 65 73 65 20 |wnloadin|g these | |00001560| 66 69 6c 65 73 2c 20 77 | 65 20 63 61 6e 20 63 68 |files, w|e can ch| |00001570| 61 6e 67 65 20 62 79 74 | 65 20 38 32 20 74 6f 20 |ange byt|e 82 to | |00001580| 6e 6f 6e 2d 7a 65 72 6f | 2e 29 0d 0d 49 66 20 74 |non-zero|.)..If t| |00001590| 68 65 20 68 65 61 64 65 | 72 20 69 73 20 61 20 4d |he heade|r is a M| |000015a0| 42 20 49 49 20 68 65 61 | 64 65 72 2c 20 74 68 65 |B II hea|der, the| |000015b0| 20 70 72 6f 67 72 61 6d | 20 77 69 6c 6c 20 63 68 | program| will ch| |000015c0| 65 63 6b 20 74 68 65 20 | 6d 69 6e 69 6d 75 6d 20 |eck the |minimum | |000015d0| 76 65 72 73 69 6f 6e 0d | 62 79 74 65 2c 20 74 6f |version.|byte, to| |000015e0| 20 73 65 65 20 69 66 20 | 69 74 20 6b 6e 6f 77 73 | see if |it knows| |000015f0| 20 65 6e 6f 75 67 68 20 | 74 6f 20 64 65 63 6f 64 | enough |to decod| |00001600| 65 20 74 68 65 20 66 69 | 6c 65 2e 20 20 49 66 20 |e the fi|le. If | |00001610| 74 68 65 20 6d 69 6e 69 | 6d 75 6d 20 76 65 72 73 |the mini|mum vers| |00001620| 69 6f 6e 20 69 6e 0d 74 | 68 65 20 68 65 61 64 65 |ion in.t|he heade| |00001630| 72 20 69 73 20 67 72 65 | 61 74 65 72 20 74 68 61 |r is gre|ater tha| |00001640| 6e 20 74 68 65 20 76 65 | 72 73 69 6f 6e 20 74 68 |n the ve|rsion th| |00001650| 61 74 20 74 68 65 20 74 | 65 72 6d 69 6e 61 6c 20 |at the t|erminal | |00001660| 70 72 6f 67 72 61 6d 20 | 77 61 73 20 77 72 69 74 |program |was writ| |00001670| 74 65 6e 0d 66 6f 72 2c | 20 69 74 20 77 69 6c 6c |ten.for,| it will| |00001680| 20 64 6f 77 6e 6c 6f 61 | 64 20 74 68 65 20 66 69 | downloa|d the fi| |00001690| 6c 65 20 61 73 20 70 75 | 72 65 20 58 4d 6f 64 65 |le as pu|re XMode| |000016a0| 6d 20 28 63 72 65 61 74 | 69 6e 67 20 61 20 22 54 |m (creat|ing a "T| |000016b0| 45 58 54 22 20 66 69 6c | 65 29 20 61 6e 64 0d 6e |EXT" fil|e) and.n| |000016c0| 6f 74 69 66 79 20 74 68 | 65 20 75 73 65 72 20 74 |otify th|e user t| |000016d0| 68 61 74 20 63 6f 6e 76 | 65 72 73 69 6f 6e 20 69 |hat conv|ersion i| |000016e0| 73 20 6e 65 65 64 65 64 | 20 62 65 63 61 75 73 65 |s needed| because| |000016f0| 20 74 68 65 20 4d 61 63 | 42 69 6e 61 72 79 20 76 | the Mac|Binary v| |00001700| 65 72 73 69 6f 6e 20 77 | 61 73 20 74 6f 6f 0d 68 |ersion w|as too.h| |00001710| 69 67 68 2e 0d 0d 49 66 | 20 74 68 65 20 68 65 61 |igh...If| the hea| |00001720| 64 65 72 20 64 6f 65 73 | 20 4e 4f 54 20 72 65 70 |der does| NOT rep| |00001730| 72 65 73 65 6e 74 20 61 | 20 76 61 6c 69 64 20 4d |resent a| valid M| |00001740| 42 20 49 49 20 68 65 61 | 64 65 72 2c 20 74 68 65 |B II hea|der, the| |00001750| 20 70 72 6f 67 72 61 6d | 20 6d 75 73 74 20 61 74 | program| must at| |00001760| 0d 6d 69 6e 69 6d 75 6d | 20 63 68 65 63 6b 20 62 |.minimum| check b| |00001770| 79 74 65 20 38 32 20 74 | 6f 20 62 65 20 7a 65 72 |yte 82 t|o be zer| |00001780| 6f 2d 2d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |o--if it| is not | |00001790| 7a 65 72 6f 2c 20 74 68 | 65 20 66 69 6c 65 20 69 |zero, th|e file i| |000017a0| 73 20 6e 6f 74 20 61 20 | 4d 42 20 49 0d 66 69 6c |s not a |MB I.fil| |000017b0| 65 2e 20 20 49 74 20 69 | 73 20 70 6f 73 73 69 62 |e. It i|s possib| |000017c0| 6c 65 20 74 6f 20 77 72 | 69 74 65 20 61 20 6d 75 |le to wr|ite a mu| |000017d0| 63 68 20 6d 6f 72 65 20 | 72 6f 62 75 73 74 20 72 |ch more |robust r| |000017e0| 6f 75 74 69 6e 65 2c 20 | 62 79 20 63 68 65 63 6b |outine, |by check| |000017f0| 69 6e 67 20 74 68 65 0d | 66 6f 6c 6c 6f 77 69 6e |ing the.|followin| |00001800| 67 3a 0d 20 20 4f 66 66 | 73 65 74 73 20 31 30 31 |g:. Off|sets 101| |00001810| 2d 31 32 35 2c 20 42 79 | 74 65 2c 20 73 68 6f 75 |-125, By|te, shou| |00001820| 6c 64 20 61 6c 6c 20 62 | 65 20 30 2e 0d 20 20 4f |ld all b|e 0.. O| |00001830| 66 66 73 65 74 20 32 2c | 20 42 79 74 65 2c 20 28 |ffset 2,| Byte, (| |00001840| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |the leng|th of th| |00001850| 65 20 66 69 6c 65 20 6e | 61 6d 65 29 20 73 68 6f |e file n|ame) sho| |00001860| 75 6c 64 20 62 65 20 69 | 6e 20 74 68 65 20 72 61 |uld be i|n the ra| |00001870| 6e 67 65 20 6f 66 20 31 | 2d 36 33 2e 0d 20 20 4f |nge of 1|-63.. O| |00001880| 66 66 73 65 74 73 20 38 | 33 20 61 6e 64 20 38 37 |ffsets 8|3 and 87| |00001890| 2c 20 4c 6f 6e 67 20 57 | 6f 72 64 2c 20 28 74 68 |, Long W|ord, (th| |000018a0| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the | |000018b0| 66 6f 72 6b 73 29 20 73 | 68 6f 75 6c 64 20 62 65 |forks) s|hould be| |000018c0| 20 69 6e 20 74 68 65 0d | 20 20 20 20 72 61 6e 67 | in the.| rang| |000018d0| 65 20 6f 66 20 30 2d 24 | 30 30 37 46 20 46 46 46 |e of 0-$|007F FFF| |000018e0| 46 2e 0d 0d 49 66 20 61 | 6e 79 20 6f 66 20 74 68 |F...If a|ny of th| |000018f0| 65 73 65 20 74 65 73 74 | 73 20 66 61 69 6c 2c 20 |ese test|s fail, | |00001900| 74 68 65 20 66 69 6c 65 | 20 69 73 20 6e 6f 74 20 |the file| is not | |00001910| 61 20 76 61 6c 69 64 20 | 4d 61 63 42 69 6e 61 72 |a valid |MacBinar| |00001920| 79 20 66 69 6c 65 2e 20 | 20 49 74 20 6d 61 79 0d |y file. | It may.| |00001930| 73 74 69 6c 6c 20 62 65 | 20 64 65 73 69 72 61 62 |still be| desirab| |00001940| 6c 65 20 74 6f 20 64 69 | 73 74 69 6e 67 75 69 73 |le to di|stinguis| |00001950| 68 20 62 65 74 77 65 65 | 6e 20 74 65 78 74 20 66 |h betwee|n text f| |00001960| 69 6c 65 73 20 61 6e 64 | 20 66 6f 72 65 69 67 6e |iles and| foreign| |00001970| 20 62 69 6e 61 72 79 20 | 66 69 6c 65 73 0d 28 66 | binary |files.(f| |00001980| 6f 72 20 73 74 72 69 70 | 70 69 6e 67 20 6c 69 6e |or strip|ping lin| |00001990| 65 20 66 65 65 64 73 20 | 6f 72 20 73 69 6d 69 6c |e feeds |or simil| |000019a0| 61 72 20 68 65 6c 70 66 | 75 6c 20 61 63 74 73 29 |ar helpf|ul acts)| |000019b0| 2e 20 20 53 6f 6d 65 20 | 74 65 73 74 73 20 74 68 |. Some |tests th| |000019c0| 61 74 20 77 6f 75 6c 64 | 0d 70 72 6f 76 65 20 75 |at would|.prove u| |000019d0| 73 65 66 75 6c 20 69 6e | 63 6c 75 64 65 3a 0d 20 |seful in|clude:. | |000019e0| 20 20 41 20 71 75 61 6e | 74 69 74 79 20 6f 66 20 | A quan|tity of | |000019f0| 62 79 74 65 73 20 69 6e | 20 74 68 65 20 66 69 72 |bytes in| the fir| |00001a00| 73 74 20 62 6c 6f 63 6b | 20 77 69 74 68 20 74 68 |st block| with th| |00001a10| 65 20 68 69 67 68 20 62 | 69 74 20 73 65 74 20 77 |e high b|it set w| |00001a20| 6f 75 6c 64 20 70 6f 69 | 6e 74 20 74 6f 0d 20 20 |ould poi|nt to. | |00001a30| 20 20 20 61 20 62 69 6e | 61 72 79 20 66 69 6c 65 | a bin|ary file| |00001a40| 20 28 74 68 6f 75 67 68 | 20 74 68 69 73 20 63 6f | (though| this co| |00001a50| 75 6c 64 20 62 65 20 66 | 6f 6f 6c 65 64 20 62 79 |uld be f|ooled by| |00001a60| 20 66 69 6c 65 73 20 77 | 69 74 68 20 6d 61 6e 79 | files w|ith many| |00001a70| 20 65 78 74 65 6e 64 65 | 64 0d 20 20 20 20 20 61 | extende|d. a| |00001a80| 73 63 69 69 20 63 68 61 | 72 61 63 74 65 72 73 2c |scii cha|racters,| |00001a90| 20 73 75 63 68 20 61 73 | 20 67 65 6e 65 72 61 74 | such as| generat| |00001aa0| 65 64 20 62 79 20 74 68 | 65 20 6f 70 74 69 6f 6e |ed by th|e option| |00001ab0| 20 6b 65 79 20 6f 6e 20 | 61 20 4d 61 63 29 2e 0d | key on |a Mac)..| |00001ac0| 20 20 20 41 20 6c 61 72 | 67 65 20 71 75 61 6e 74 | A lar|ge quant| |00001ad0| 69 74 79 20 6f 66 20 7a | 65 72 6f 20 62 79 74 65 |ity of z|ero byte| |00001ae0| 73 20 28 6e 75 6c 6c 73 | 29 20 77 6f 75 6c 64 20 |s (nulls|) would | |00001af0| 61 6c 73 6f 20 70 6f 69 | 6e 74 20 74 6f 20 61 20 |also poi|nt to a | |00001b00| 62 69 6e 61 72 79 20 66 | 69 6c 65 2e 0d 0d 2d 2d |binary f|ile...--| |00001b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001b50| 2d 2d 2d 2d 2d 2d 0d 0d | 20 54 68 69 73 20 70 72 |------..| This pr| |00001b60| 6f 70 6f 73 61 6c 20 77 | 61 73 20 61 64 6f 70 74 |oposal w|as adopt| |00001b70| 65 64 20 61 74 20 74 77 | 6f 20 63 6f 6e 66 65 72 |ed at tw|o confer| |00001b80| 65 6e 63 65 73 20 61 74 | 74 65 6e 64 65 64 20 62 |ences at|tended b| |00001b90| 79 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 76 65 |y repres|entative| |00001ba0| 73 20 66 72 6f 6d 0d 43 | 6f 6d 70 75 53 65 72 76 |s from.C|ompuServ| |00001bb0| 65 2c 20 44 65 6c 70 68 | 69 20 61 6e 64 20 42 49 |e, Delph|i and BI| |00001bc0| 58 20 6e 65 74 77 6f 72 | 6b 73 2c 20 61 6e 64 20 |X networ|ks, and | |00001bd0| 6d 61 6e 79 20 74 65 72 | 6d 69 6e 61 6c 20 73 6f |many ter|minal so| |00001be0| 66 74 77 61 72 65 20 70 | 75 62 6c 69 73 68 65 72 |ftware p|ublisher| |00001bf0| 73 2e 20 20 41 0d 70 61 | 72 74 69 61 6c 20 6c 69 |s. A.pa|rtial li| |00001c00| 73 74 20 6f 66 20 74 68 | 6f 73 65 20 70 61 72 74 |st of th|ose part| |00001c10| 69 63 69 70 61 74 69 6e | 67 20 69 73 3a 0d 0d 09 |icipatin|g is:...| |00001c20| 50 65 74 65 72 20 4f 6c | 73 6f 6e 2f 49 43 4f 4e |Peter Ol|son/ICON| |00001c30| 74 61 63 0d 09 4c 61 72 | 72 79 20 4c 6f 65 62 2f |tac..Lar|ry Loeb/| |00001c40| 42 49 58 0d 09 4e 65 69 | 6c 20 53 68 61 70 69 72 |BIX..Nei|l Shapir| |00001c50| 6f 2f 4d 61 75 67 0d 09 | 4d 61 72 6b 20 48 61 67 |o/Maug..|Mark Hag| |00001c60| 65 72 6d 61 6e 0d 09 4d | 69 63 68 61 65 6c 20 50 |erman..M|ichael P| |00001c70| 65 73 74 65 72 0d 09 57 | 69 6c 6c 69 61 6d 20 42 |ester..W|illiam B| |00001c80| 6f 6e 64 0d 09 42 69 6c | 6c 20 53 74 65 69 6e 62 |ond..Bil|l Steinb| |00001c90| 65 72 67 0d 09 44 6f 6e | 20 42 72 6f 77 6e 0d 09 |erg..Don| Brown..| |00001ca0| 42 69 6c 6c 20 44 61 76 | 69 73 0d 09 4a 65 61 6e |Bill Dav|is..Jean| |00001cb0| 20 48 65 73 73 0d 09 53 | 63 6f 74 74 20 57 61 74 | Hess..S|cott Wat| |00001cc0| 73 6f 6e 0d 09 43 6c 61 | 79 20 4d 61 65 63 6b 65 |son..Cla|y Maecke| |00001cd0| 6c 0d 09 48 61 72 72 79 | 20 43 68 65 73 6c 65 79 |l..Harry| Chesley| |00001ce0| 0d 09 4a 61 63 6b 20 42 | 72 69 6e 64 6c 65 0d 09 |..Jack B|rindle..| |00001cf0| 52 61 69 6e 65 73 2f 42 | 4d 55 47 0d 09 48 61 72 |Raines/B|MUG..Har| |00001d00| 72 79 20 43 6f 6e 6f 76 | 65 72 0d 09 43 68 72 69 |ry Conov|er..Chri| |00001d10| 73 20 41 6c 6c 65 6e 2f | 44 72 65 61 6d 73 20 6f |s Allen/|Dreams o| |00001d20| 66 20 74 68 65 20 50 68 | 6f 65 6e 69 78 0d 09 00 |f the Ph|oenix...| |00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001d80| 00 00 01 00 00 00 01 7c | 00 00 00 7c 00 00 00 62 |.......||...|...b| |00001d90| 00 00 00 74 00 50 03 00 | 00 00 00 00 00 00 00 00 |...t.P..|........| |00001da0| 00 00 00 11 0b 50 72 65 | 66 65 72 65 6e 63 65 73 |.....Pre|ferences| |00001db0| 15 4d 61 63 42 69 6e 61 | 72 79 20 49 49 20 53 74 |.MacBina|ry II St| |00001dc0| 61 6e 64 61 72 64 02 00 | 00 00 54 45 58 54 74 74 |andard..|..TEXTtt| |00001dd0| 00 00 54 45 58 54 74 74 | 78 74 01 00 00 34 00 80 |..TEXTtt|xt...4..| |00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001df0| 00 00 eb c0 d1 d1 00 00 | 1c af 00 00 01 de 01 00 |........|........| |00001e00| ff f8 ff f0 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001e20| 06 00 00 00 00 75 00 6f | 03 00 00 00 00 00 00 00 |.....u.o|........| |00001e30| 00 00 00 00 00 74 0e 6f | 73 63 61 72 20 67 69 62 |.....t.o|scar gib| |00001e40| 62 6c 69 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |blies...|........| |00001e50| 00 00 00 00 00 00 15 00 | 00 00 00 75 0f 6f 73 63 |........|...u.osc| |00001e60| 61 72 2e 61 64 64 72 65 | 73 73 65 73 02 00 00 00 |ar.addre|sses....| |00001e70| 54 45 58 54 6f 73 63 52 | 00 00 00 00 00 00 00 00 |TEXToscR|........| |00001e80| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 61 73 20 |...H..Mo|naco.as | |00001e90| 67 65 6e 65 72 61 6c 6c | 79 20 61 67 72 65 65 64 |generall|y agreed| |00001ea0| 0d 75 70 6f 6e 20 00 06 | 00 04 00 2a 00 03 03 63 |.upon ..|...*...c| |00001eb0| 02 7d 00 50 00 20 01 53 | 01 bd eb c0 de 5e 00 00 |.}.P. .S|.....^..| |00001ec0| 00 00 00 00 00 00 00 00 | 12 fe 01 00 00 00 00 1e |........|........| |00001ed0| 00 2a 00 03 03 63 02 7d | 00 50 00 20 01 53 01 bd |.*...c.}|.P. .S..| |00001ee0| 00 00 12 fe 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001ef0| 00 0a 02 5b 00 21 03 37 | 02 11 00 00 00 00 01 00 |...[.!.7|........| |00001f00| 00 00 01 7c 00 00 00 7c | 00 00 00 62 00 b5 41 f8 |...|...||...b..A.| |00001f10| 08 d2 00 00 00 1c 00 52 | 00 01 4d 50 53 52 00 01 |.......R|..MPSR..| |00001f20| 00 12 53 5f 57 50 00 00 | 00 2a 03 ed ff ff 00 00 |..S_WP..|.*......| |00001f30| 00 00 00 00 00 00 03 f0 | ff ff 00 00 00 4c 00 00 |........|.....L..| |00001f40| 00 00 4c d9 00 00 00 00 | 00 6e 00 b5 3e d8 0f 57 |..L.....|.n..>..W| |00001f50| 69 6e 64 6f 77 20 50 6f | 73 69 74 69 6f 6e 00 00 |indow Po|sition..| |00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+